package org.railage.server.dao;

import java.util.List;

import org.railage.server.entities.ScheduleRecord;

/**
 * DAO for ScheduleRecord entity.
 * 
 * @author Cyril Fertikov
 * 
 */
public interface ScheduleRecordDAO {

	/**
	 * Gets trips schedule for given station.
	 * 
	 * @param stationName
	 *            Name of station.
	 * @return List of schedule records.
	 */
	List<ScheduleRecord> getSchedule(String stationName);
}
